package com.stone.design.patterns.iterator;

/**
 * @description
 * @Time 2018/4/12 9:40
 * Created by Stone on 2018/4/12.
 */

public interface Aggregate<T> {

    void add(T obj);
    boolean remove(T obj);
    Iterator<T> iterator();
}
